fixed a million bugs