fixing broken scheme