fix dynamic options