just making the damn thing not die with type errors