Fixed clean command
Added check for empty URLs
Field test