fix url for dev and prod and commented out a bit code which is required