Fix error editinplace