cleaned up gallery and single