fix for plan