fix requeriments check bug. Issue #2