adapt editor to this new change