modified the access to var options when load record