fix errors
completing gallery page
fix errors