fixed a missing variable name