[PATCH] check rlm_detail writes