added redirect if no params