renamed variable to more meaningful name
small bugfix