changed url check for /