make 500 view work