remove unused function currentstatus
remove useless userevent agent