fixed url return from code review