theme export fix

theme export fix and nginx cleanup