Fixed crash in amtele