fixed bug in overview mode