fixed a problem with static evaluation