remove duplicate bug_get_field call