fix maven build errors introduced last pull request