super hacky fix for invalid options showing up in output but I can't see a way to hide them normally