Fix for removing magic space