fix typeahead in forms
fix thumbnails
cleanup