fixing spring problems