solved iOS background problem