fixed main and set package properly