Return generate dir name not full direcotry