strings, sets, and env fixes