fix compiler error for quantal