automatically redirect to "/"
better error handling