fix bug in zoom