small changes

add log require