fixed bug in boolean address of param, fixed bug in double printing endl for a void