fixed mistake with content offset calculation