Remove q map in scratch buffer.