fix initialize callback call