gallery support
fixed comment count bug