Fix a bug that prevents lib to work for me