contents bug fix