fix for FF bug on android