gsub issue fixed