Fixes new_site creation issue.