added available_field checking