Fix errors

change packege and comit methods