fixed the read-paramater not getting updated