fixed the add site bug