Fixing compatibility issue with PWLocation v0.9.2