fix messed up packages