fix for mismatched libary var