Fixed up strings decoder for outside usage