fix problem with parenthesis and doc function