fix cluster file parsing