fixed project generate issue with OAR type