refactor zoom and dashboard loading
remove unnecessary variables