fix for lightning for ARM