fix expression errors in mother edit