fix single number argument in contructor