fixed poms and some compile errors