Minor fix on returning response