fixes bug with setter injection