fix var when making a folder