Apply suggestions from code review
Apply suggestions from code review

fix boolean format
kellybinary/binary-static,binary-com/binary-static,ashkanx/binary-static,kellybinary/binary-static,binary-com/binary-static,kellybinary/binary-static,ashkanx/binary-static,ashkanx/binary-static,binary-com/binary-static