Fix issue with habitat#set