add workaround for buggy behaviour around zero