change the order of call serpower function
Merge pull request #110 from irvs/issue109

change the order of call serpower function