Wasnt setting individual properties properly