Fixed problems with the spring injection