code fix
fix exception