spliting files, make it works for my glic etc