fix single inheritence issue