fixed bugs, added bind service in RecHistoryService