better handling for mobile