Fix ape.pl