Added a console warning if spaces detected