fixed bat compile error