Please format your code so it is lisible. Indentation is important in Nim and right now there is none in your message.
Try to provide more details, what are you trying to do, what platform are you on and what exactly happens. "Something went wrong" is not a descriptive error.