fix rs = null