problem with function defaultScope() in Content class