fixed second value not getting defined

forgot to use .value on fromprogram