fixed issue  #2464
Merge pull request #2466 from khalednasr/master

fixed issue  #2464