Make sure to set editor