library log fix