fixed bug with assert_true|false fn