fixed compile issues
fixed compile issues