fix for stop learning