Fix #251

Don't know how this worked at all :)