fix for inline edition