fix bug on mobile UI