fixed sys bug