fix contents type