fixed bug in power() method