modify some errors for demo