work around isAssignable