Fixed stupid bug in power operation