Used get. for some reason opts['id'] not always available