fix first occurred of category in add bulletin
fix out of memory error (add max opened image size)