Fix for the crash on my MacBook