labirint controller cleanup.