fix logging issue
merge from lightflowebay