Bug fix for issue removing controller key from params