fixed errors
fixed compiler errors