fixed contacts controller bug