fixed previous pull request