removing correct space