modify some bug

modify the final to variable