fixed everything to build in maven