Fixed simplelearner bug