fixed extension to agi_extesion