fix missing break
fix load file
remove test file
add video mode