fixed some class property errors