fixed code display on alert