simplified url strip

saving some cpu cycles