Fixed it such that silent location fail does not occur.
Merge pull request #4 from tassiahmed/working

Fixed it such that silent location fail does not occur.