fixes #4254 Script error raising when loading content tab