fixes for response type