Fixed error with sets