Confusing letter shapes in Arabic text (e.g. الا)

How some letters are written are really confusing. The "الا" is written sometimes as
PendingPending