Fix form redirect to homepage