put the mkdir in the right place