ret_bool tested and fixed