Fix pow conversion problem