Giving credit to @mohrerao as he had found out the issue..