fixed minor error caused by the last fix