fixing bug in getClassification, lock was missnamed