Fixed bugs related to scores as inputs