[BUGFIX] Fix wrong variable usage