Fixed the function for uiserver option parse