fixed catfiles when working with urls