fix bad self reference