renamed IO struct member appname to name