fix bug with scroll