Fixed small device bug