Prevent crash on Gingerbread devices