possible fix for equation positioning