scheme bug fixed