fix bug w/ thumbnail