fixed olddir error and made default into at_work