fix pyage error