fix for missing vars