Fix typo

Fix no method error in case of production and lack of params.