added plugin to phonegap. that may have something to do with this...