New object bug with gallery