added constructor fixes