Fix bug in folders