fixed contents error