fix db creation and deletion for site name containing a dash '-'