plugin source mapping fix -- closes #1609