Fix for getting the params when required