fix semi supervised learning