fix table row clickable behavior and appointment policy bug