resolved bug in file lib