small report code fix