bug fix on server side, add log engine, change lib to core