added missing check