Fixed a bug with formula one