print log before installing
add function ffo and remove trail space