fixed constructor getting dropped in accessors