fix to work on android. tested on safari, firefox, chrome, ios, & android