fixed multiply logs problem
small fixes