Bug fix for mobile.