Fixed!! And echo debug statements removed