fixed error with empty created_by