Fix ipad crash

This should fix #1 

@LauraKirby