fixed power calc error