fixed case where 0 tiles exist, was hanging