checking for hr error