fixes broken grid calculator mixin