don't use globals in crawler