fix to save in the same dir