Fix bug in content lookup