fixed hr validation bug