reset functionality
fixed uglify cont
todo added