new validation spaceCheck added