improved folder refering