fix for missing calculations