Added no-space validation and error