fixed file path, fixed msg serialize problem