updated logging for invalid plugins