fixed maven install bugs