init vars (fix bug)