fix a small bug. gallery module finished