fix compile erros that maven missed