fixed pow() usage