Handling space instates in url