removed bug while reading