fix the application for maven build