bug fixing on operation edit