url pattern changed for states detail to avoid double slash problem