fix a exception