Fixed errors in power up ability code.