fixed power up bugs