edit in place directive tweaked