Fixed console bug in library file.