syntax fix on constructing