fix for jailbroken devices