Fix #5456

FYI, state and fun are reserved. they are keywords in the state executor