Put global vars back inside init method