fixed some bugs in the new implemented repository logging