Fixed bugs with maven conversion