fix exception exit error

change Boolean type to boolean type