Fixing ajax error again, dirs should be used if they don't belong to a project.