Strip url before save