minor changes for mobile compatibility