Fixed crashing for pre-jellybean devices