Fixed logging. created fanin
fixed log made fanin