bug fix (id of the last inserted content)