Better error message when use primitive data type as in and save operations