bug about legth of content solved