fix dunder command registering