Fixed wrong variable