fix when passing static const member data to option add