tweaking flash error response without body