fix contents, generate on init