fix http://www.zenphoto.org/support/topic.php?id=572503#post-783215