fix an bug,when using none table in from() method.