fix crash on Arch