remove `self=this` lines so that `self.db` is actually set