use render instead of respond temporarily