trying to solve ipad error #22