redirect to default path if it empty