fixes quote bug in constructor