fix bash bug
backup for May 2013