Fix bug with amplify
Fix bug with zoomIn and zoomOut
Remove useless variables;