fix silly error in code