fix bug, the empty or invalid parameter could case server error