Fix bug params is null or undefined