fix bug in log error issue #63
refs and version