Fixing the most bizzare exception