fix bugs
fix major bug

wrong updated location in 007
remove wrong ref var in 004