AGL fixed crash