fixed invalid argument in demo