fixed "Modification of a read-only value attempted" RT95342
updated by minilla