fix /folder and no link bug