fixed an error in the worpress plugin