fix order of init
fix compile