try to work around type mismatch