fix initialization