Constructor fix

Working as intended now