fixed compile error because of ";"