consider spaces before url