Fixing exception.