fixing 1483
Merge pull request #1515 from prolificcoder/master

fixing 1483