fixed powf problems.