Fix sites subdir bug