some bugs fix; more friendly error prompts enhancement