problem with full table scan