FIX: Fixed editing of a medium