fix code style in server/framework