pass optname, this mistake is just stupid