Fixed wrong variable position