add check to bug patch to check endian-ness of user system.