removed else in repository