fix bug where select boxes werent properly passing arguments to be created