fixed spelling of an error message
fixed while loop implementation
fixed case problem in remote member variable access