Caught an error and fixed it by adding params