fix accuracy bug for pow