set properties only once