improve join between contractors and permits