Fixed the delete site button bug