trying to resolve some cryptic error