Fix news detail write to db fail issue