fix function loadField