properly converts true/false now