fixed encoding issue in SQ