Formated code and fixed bug in pom