need to fix zoom optimizing