fix gallery bug and aurora edit