little fix on galleries