Fixed set_contents argument