added space removal
fixed compilation bug because of upgraded in core-moos 10.0.1