fixing up get/set dirty methods