fix issue with created_by and scoping