set readonly properties