Fixed bugs with virtualFields