Fixed non-funtional after_initialize