Bug fix for level detection board.