Fix bug for user variable