remove white spaces for item name validation