fix patients click issue