Fixed errors in inline editing