add command
fix some bug