fixed issue on gallery mobile