fixed compile error preventing build