fix of previous commit

I forgott to adjust the string length for darcs:, so rewrite code
removing this pitfall