redirect only when there is code
Missing {