fix compile errors after import project