Fixes for ptb_value and default value