fixing issue in maven implementation