cleaning up some code
fixed size thumbnails