fixes a thumbnail rename bug
fixes #523 regression