update params access and debug runtime errors