fixed gallery edit view