removes scheme code