fixed a bug in photo album