Fix apg