Gallery fix

Closes #43