Anton/fix negative exponents

do not merge