fix warning and auto zoom on around