bug in controller fixed
url validation