fixed warning on closing of ace editor