fixed error in multiple skill detection