fixes to valon detection