validate bookmark name.
change function name.
format code