Fixing type on string