fix after_initialize