add shell_cmd and fix bdf drawing bug