fix log plot