fixes for thumbnail worker