fix issue when attempting to hit plugin before application has started up