Fixed bug in wrapping options.