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