fixed the ctrl space issue