Prevent crash on 10.7