fixed enrollment problem under windows