Fix connection problems. Change beans.