fixing init issues