Added the ability for deleting spaces