fixed closeScreen Bug