fixed bug in field_variable.js