fixed test button issue on view page