fixed the \n length issue and added param tag