Fixed bug where spc:s were overwritten