fix thumbnail picking