fix error with incorrect id in admin panel after "edit" button click in coctail view